//
//  hydateBaseHandle.h
//  豆瓣
//
//  Created by hy on 16/1/8.
//  Copyright © 2016年 hongyu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class HdModel;
@interface hydateBaseHandle : NSObject {
//    添加成员变量
    sqlite3 *db;
}
//数据库封装类 单例
+ (hydateBaseHandle *)shareDataBaseHandle;
//打开数据库
- (void)openbd;
//创建表
- (void)createtable;
//插入数据
- (void)insertModel:(NSString *)title;
//查询数据
- (NSMutableArray *)selectDate;
//删除表
- (void)deleteDate;

//创建电影表单
- (void)createMovieTable;
- (void)insertmovie:(NSString *)title;
- (NSMutableArray *)selectMovieDate;
@end
